package com.example.springbootesservice.common;

import cn.hutool.json.JSONObject;
import lombok.Data;

import java.util.List;

/**
 * @author wuxinxin
 */
@Data
public class SearchDocDto {

    private String indexName;

    private String key;

    private String value;

    private List<String> values;

    private String[] values2;

    private String startValue;

    private String endValue;

    private JSONObject query;

    private Integer type;

    private JSONObject shouldQuery;

    private JSONObject mustQuery;

    private JSONObject innerBoolQuery;

    private String[] fields;

    private Long aggMinDocCount;

    private String aggField;

    private Integer aggSize;
}


